﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NeuralNetworks.ActivationFunctions;

namespace NeuralNetworks
{
    class KohonenLayer : Layer
    {
        private int _xsize;
        private int _ysize;

        public KohonenLayer(int xsize, int ysize) : base(0, new LinearFunction(), "KL")
        {
            _xsize = xsize;
            _ysize = ysize;
            for (int i = 0; i < _xsize * _ysize; i++ )
                Neurons.Add(new Neuron(new LinearFunction()));
        }

        public new string ToString()
        {
            return "KL";
        }


    }
}
